home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MacWorld: Complete Mac Interactive
/
Macworld Complete Mac Interactive CD)(1994).iso
/
Software
/
Graphsoft
/
Arch Demo
/
Core.sit
/
MiniCad 5 Demo.rsrc
/
STR#_7008.txt
< prev
next >
Wrap
Text File
|
1994-04-15
|
1KB
|
49 lines
Writes data to a text file followed by a carriage return.
WriteLn(V1,V2,...,Vn: INTEGER or REAL or LONGINT or CHAR or STRING);
Writes data to a text file.
Write(V1, V2, ..., Vn: INTEGER or REAL or LONGINT or CHAR or STRING);
Closes a currently open text file.
Close(FileName : TEXT);
Allows the user to add text information to the end of a text file.
Append(FileName : TEXT);
Displays the standard Macintosh file dialog which requests the user to select a text file for output.
PutFile(CommentStr, FileDefault : STRING; VAR FileName : TEXT);
Creates a new file or clears an existing one for writing.
Rewrite(FileName : TEXT);
Returns TRUE if the reading pointer of an open file has reached a carriage return.
EOLN(FileName : TEXT) : BOOLEAN;
Returns TRUE if the reading pointer of an open file has reached the end of the file.
EOF(Filename : TEXT) : BOOLEAN;
Reads data from the currently open text file and skips to the beginning of the next line of data.
ReadLn(VAR V1, V2, ..., Vn : INTEGER or REAL or LONGINT or CHAR or STRING);
Reads data from the currently open text file.
Read(VAR V1, V2, ..., Vn : INTEGER or REAL or LONGINT or CHAR or STRING);
Displays the standard Macintosh file dialog which requests the user to select a text file.
GetFile(VAR FileName : TEXT);
Opens a file for reading.
Open(FileName : TEXT);